package com.roy.royminidao.common.framework.lang.db;

public class MysqlDialect extends Dialect {

	@Override
	public String getLimitString(String sql, int offset, int pageSize) {
		StringBuffer buffer = new StringBuffer(sql);
		buffer.append(" limit ");
		buffer.append(offset);
		buffer.append(",");
		buffer.append(pageSize);
		return buffer.toString();
	}

}
